package resource.models;

import java.io.Serializable;


/**
 * Class that contains player IP and player name
 */
public class PlayerConnectionInfo  implements Serializable{
	
	private String name;
	private String ipAddress;

	PlayerConnectionInfo(String name, String ipAddress) {
		this.name = name;
		this.ipAddress = ipAddress;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}
	
	public String getName() {
		return name;
	}
	
	public String getIpAddress() {
		return ipAddress;
	}
}
